package com.fengxing.ams.web.facade;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.fengxing.ams.web.facade.intf.IBatchLineFacade;
import com.fengxing.ams.web.facade.mouble.batchline.BatchLineVO;
import com.fengxing.ams.web.facade.mouble.batchline.IBatchLineDAO;

@Component
@Transactional
public class BatchLineFacade implements IBatchLineFacade {

	@Autowired
	IBatchLineDAO batchLineDAO;
	
	@Override
	public List<BatchLineVO> query(Integer year) {
		return batchLineDAO.getBatchLine(year);
	}

}
